#include<iostream>
#include<cmath>
#include<algorithm>
using namespace std;
int main()
{
	int a, b, c;
	cin >> a >> b >> c;
	if (b <= c/a) {
		cout << b << endl;
	}
	else {
		cout << c / a << endl;
	}
	return 0;
}